# Indonesia Match Details

> `GET /api/esports/id/matches/{match_id}`: Esports endpoint of the Rone Arena API.

Full match history of one match of the Indonesian professional league: every game with both teams and all players (hero, KDA, items, emblem, talents, gold, damage dealt, damage taken and tower damage). Each team also reports the game winner and its kills; the game has a duration.

Battle spells are not published by the league site. Data is cached for 5 minutes.

## Request

`GET https://arena.rone.dev/api/esports/id/matches/{match_id}`

### Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `match_id` | path | integer | yes |  | **match_id** from the schedule endpoint. Range: 1... |

### Example

```bash
curl -X GET 'https://arena.rone.dev/api/esports/id/matches/{match_id}'
```

## Example response

```json
{
  "match_id": "1036",
  "games": [
    {
      "number": 1,
      "duration": "16:51",
      "timeline_minutes": [],
      "teams": [
        {
          "team": {
            "name": "EVOS",
            "logo": "https://wsrv.nl/?url=https%3A%2F%2Fexample.com%2Fteams%2Fevos.png"
          },
          "winner": true,
          "kills": 11,
          "stats": {},
          "players": [
            {
              "name": "Rendyyy",
              "hero": {
                "name": "Dyrroth",
                "image": "https://wsrv.nl/?url=https%3A%2F%2Fmlbb-image.scoregg.com%2Fhero_h%2F85.png"
              },
              "kills": 3,
              "deaths": 2,
              "assists": 3,
              "kda": 3.0,
              "items": [
                {
                  "id": "3212",
                  "image": "https://wsrv.nl/?url=https%3A%2F%2Fmlbb-image.scoregg.com%2Fm%2F33%2Fp%2F2511%2F0617014872193.png"
                }
              ],
              "emblem": {
                "id": "20003",
                "image": "https://wsrv.nl/?url=https%3A%2F%2Fmlbb-image.scoregg.com%2Femblem%2F20003.png"
              },
              "talents": [
                {
                  "id": "811",
                  "image": "https://wsrv.nl/?url=https%3A%2F%2Fmlbb-image.scoregg.com%2Frune%2F811.png"
                }
              ],
              "gold": 9316,
              "damage_dealt": 38859,
              "damage_taken": 126389,
              "tower_damage": 1699,
              "item_sequence": []
            }
          ]
        }
      ]
    }
  ]
}
```

## Links

- Try it in the playground: https://arena.rone.dev/web/esports/id/matches/{match_id}
- Esports endpoints: https://arena.rone.dev/web/esports.md
- OpenAPI schema: https://arena.rone.dev/api/openapi.json
